Move the JS back into it's own file in media/cms