Initial shot for "onlyIfModified" support #77
Added further functionality to JS j4p.register() so that callbacks (without success and error) works #77
Added changes for #77