added spec files for javascript ( jasmine-rails)