added the code from asset/javascripts/pool.js to new.js, the form will now accept new items