1. update js with correct method to handle dynamically added html elements
2. re-structure activity log entry to handle local time
3. add js file to all related jsp files