register alternative client side script