js in home index moved to coffeescript file