Refactors javascript to ONLY bind appropriate form behaviors based off of Modernizr sniffing