added controller and require js