```coffeescript
require 'coffee-react/register'
require "#{ROOT}/views/env"


# i18n
{join} = require 'path-extra'
window.i18n = {}

window.i18n.main = new(require 'i18n-2')
  locales: ['en-US', 'ja-JP', 'zh-CN', 'zh-TW']
  defaultLocale: 'zh-CN'
  directory: join(__dirname, 'assets', 'i18n')
  extension: '.json'
  updateFiles: false
  devMode: false
window.i18n.main.setLocale(window.language)
window.__ = window.i18n.main.__.bind(window.i18n.main)

try
  require 'poi-plugin-translator'
catch error
  console.log error
window.i18n.resources ?= {}
window.i18n.resources.__ ?= (str) -> return str
window.i18n.resources.translate ?= (locale, str) -> return str
window.i18n.resources.setLocale ?= (str) -> return
window.__r = window.i18n.resources.__.bind(window.i18n.resources)


require './views'
```

Move css setup to window.coffee
user
```coffeescript
require 'coffee-react/register'
require "#{ROOT}/views/env"


# i18n
{join} = require 'path-extra'
window.i18n = {}

window.i18n.main = new(require 'i18n-2')
  locales: ['en-US', 'ja-JP', 'zh-CN', 'zh-TW']
  defaultLocale: 'zh-CN'
  directory: join(__dirname, 'assets', 'i18n')
  extension: '.json'
  updateFiles: false
  devMode: false
window.i18n.main.setLocale(window.language)
window.__ = window.i18n.main.__.bind(window.i18n.main)

try
  require 'poi-plugin-translator'
catch error
  console.log error
window.i18n.resources ?= {}
window.i18n.resources.__ ?= (str) -> return str
window.i18n.resources.translate ?= (locale, str) -> return str
window.i18n.resources.setLocale ?= (str) -> return
window.__r = window.i18n.resources.__.bind(window.i18n.resources)

# css
$('#font-awesome')?.setAttribute 'href', "#{ROOT}/components/font-awesome/css/font-awesome.min.css"


require './views'
```
assistant