Fixed application registration, removing JSON-P.