get capsule.js working slightly better with uglify