call js from script tag