mangle stuff with uglify and accept application/javascript