fixing script with uglifyls