turn off config.assets.debug in dev mode; this complicates debugging somewhat but stops the double-loading problem