change js layout