main js has been added.