Changed the mask function to use the options even if options.delay was 0 and extended options on a single place instead in the each statement.