Support for old browsers without Array.isArray support

Some older browsers do not support Array.isArray. As it appears we are ruling out using underscore in the compiler.js file, I have placed the workaround for lack of Array.isArray in its place for older browser support.