this is main js file