replaced public modifiers with global to circumvent the error: 'Javascript proxies were not generated for controller RemoteTKController: may not use public remoted methods inside an iframe.'