Moved menu code into coffeescript file in its own directory