updating ugly js file