Fixed path and errors (?) on the js files