fixed ^ and ~ use for freedom, and fixed es5-shim warning

Fixes https://github.com/freedomjs/freedom-for-chrome/issues/18

TESTED: 
grunt