- added new rest resource to get events from previous build
- moved javascript code responsible for getting events to its own file