Cleaned up home page js - added comments to global
Compiled working code