js as normal script running