added default values to entity.js constructor, updated particle/projectile to call the super method in the right order