edited create dot js dot erb