Added grunt tasks for concatenation and minification of scripts, fixed missing 'this', changed array constructors to [ ] when possible, removed unnecessary global variables, changed decoding API, removed flash object from test.html, reformatted js files, removed Array.prototype.remove method