change js frame