Add JS libraries and functionality