Added js to spree for inputs