deposit: reuse of jqueryplugin wrapper

Just uses common code to create message box plugin. Doesn't change any logic nor functionality.