Fix conflict with JS core framework on OSX