Added real operator counterparts and converted javascript to strict mode