move the jquery plugins out of the _mkws() function,