fixing javascript issues

Forgot to upload dependecies for offline use