[tm4c1294] remove jtag protection copied from lm4f
[js] array_prototype: better error handling for Array.prototype.map()