Add use strict to javascript files and fix related errors
Fix minor issues in CollisionManager
Adding initial_value property to settings