Piping javascripts with sprockets