fixed paths in the javascript files