references #316, index.coffee to javascript