Cleaned up JavaScript for Events and Places
Split up JavaScript file per Resource type