Updating core and activities to properly use the browserify module system.