added support for 'reset' flag and 'slackInMillis' in 'DolphinLoaderJS'