Example Rails4 application using emerson javascript style