Restructure JavaScript
Sort out linting and faff around with JavaScript directory structure