Organized code

- Moved calendar function to show_controller.js