Fixing javascript files in lib.