added minify detection into js bit of dynaimc class