added array injection

so it still works after munging with uglify or similar tool.