Fix to catch ES3 reserved words.

Fix for #1134
Added tests for ES3 reserved words (#1134)