Modified render_js function
Changed css and layout