changed create js to haml