The "minify HTML" setting in DW is breaking the code.
I've noticed a number of places in the Rapido template code where line terminations in the js are not present. There are also comments in the code "//".
This minify HTML settings claim to fame is that it "Removes spaces and line breaks (^\n|$\s+)". So what is happenign is that everything after the first comment is "commented out", and also line terminations become important in the js code. If these are missing, then the js is corrupt.