fixed inline script callback bug

the callback was not being fired resulting in the AppClass not being
instantiated and executed