Rewrote checkItem functions to use generic Array functions, reassigned duplicate ID's in world json, minor warning fixes

Minor warning were missing semicolons on function assignment expressions and one strict error on a missing variable declaration.