clean Java warnings
[260] - reorganises js file structure
[260] - creates new service for constants part 1