separated files into ruby and javascript files