Improve performance

- Minified data file.
- Moved loading of data file to the start before waiting to finish
loading the page.