little fixes to .js files