Small changes on the javascript files