Updating to latest JS versions

 * curl -> 0.8
 * event emitter -> 4.2