Formatted using jsFormat so that next commit only shows new code.
Added support for ImpactJS slope collision tiles.