mocked out data
devolved javascript to separate files