moved components into public/javascripts