Be E5 compatible
Merge pull request #31 from kungfuant/ecmascript5

Be E5 compatible. Fixes MP not working in Safari.