js for spree 2 edit page