passed jQ in as arg to main