Cleanup of files, split out and avoid using global javascript namespace