the main js