diff -r bd3550a252ea -r 48b7cea0d903 src/pyams_skin/resources/js/myams-jsonrpc.js --- a/src/pyams_skin/resources/js/myams-jsonrpc.js Wed Dec 12 10:13:00 2018 +0100 +++ b/src/pyams_skin/resources/js/myams-jsonrpc.js Wed Dec 12 10:13:38 2018 +0100 @@ -3,10 +3,9 @@ */ (function($, globals) { - var MyAMS = globals.MyAMS, - ams = MyAMS; + var ams = globals.MyAMS; - MyAMS.jsonrpc = { + ams.jsonrpc = { /** * Get address relative to current page