Move javascript for ajax attribute option creation out of the product js handler