-rewrite of getItem functions to use Array.prototype.filter
-reassign duplicate id's in world
-minor warning fixes, mainly missing semicolons on function assignment expressions