Added JscAppController to replace the need for modifing AppController