Refactored some of the module javascripts, and added the upgraded modifier module.