Fix rails.js to handle confirmation in image links.
Fix rails.js to handle confirmation in image links.

silvermind/bookyt,huerlisi/bookyt,hauledev/bookyt,hauledev/bookyt,huerlisi/bookyt,gaapt/bookyt,gaapt/bookyt,silvermind/bookyt,xuewenfei/bookyt,silvermind/bookyt,gaapt/bookyt,hauledev/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,gaapt/bookyt,wtag/bookyt,hauledev/bookyt,silvermind/bookyt,wtag/bookyt,xuewenfei/bookyt