added exception classes
added new option "strict" (default:false) #4
triggers syntax error on strict mode #4