little fixes js files