Revert "Create controller.js"

This reverts commit ade36fa968d014fe87b303b826111426309fce4e.