This one looks a bit simpler: https://github.com/substack/camelize/blob/master/index.js#L12. not sure about correctness though.