Revert "fix issue where form was being submitted twice"

With current jquery-ujs, This change was preventing the form from being submitted at all.

This reverts commit 0638f017fd43a3b39d0b5ea6b73d4deaa71544e6.
Loosen dependencies to allow use with rails 4.