adding js important stuff