some minor cleanups
this should probably be false by default (non-standard "magic")
convert hard-coded web root resource path to a configurable option
whitespace
add strict-mode option support
whoops. this is why one should test code before commiting!
add unit tests for strict-mode
minor argument declaration cleanup