Minor syntax change
Minor syntax change

While working on this very example recently, I found that Rails will throw POST errors if you leave an empty block in front the `format.js` when using either `remote: true` or vanilla  JS/JQuery.
BlakeWilliams/rails,flanger001/rails,mathieujobin/reduced-rails-for-travis,fabianoleittes/rails,esparta/rails,richseviora/rails,riseshia/railsguides.kr,Erol/rails,georgeclaghorn/rails,illacceptanything/illacceptanything,koic/rails,kmayer/rails,Erol/rails,alecspopa/rails,brchristian/rails,betesh/rails,kamipo/rails,MSP-Greg/rails,BlakeWilliams/rails,fabianoleittes/rails,sealocal/rails,ledestin/rails,rails/rails,printercu/rails,aditya-kapoor/rails,yasslab/railsguides.jp,tijwelch/rails,tjschuck/rails,bogdanvlviv/rails,bradleypriest/rails,illacceptanything/illacceptanything,palkan/rails,yawboakye/rails,kmcphillips/rails,yalab/rails,illacceptanything/illacceptanything,assain/rails,sergey-alekseev/rails,iainbeeston/rails,mtsmfm/railstest,gfvcastro/rails,schuetzm/rails,ngpestelos/rails,yawboakye/rails,pvalena/rails,bradleypriest/rails,iainbeeston/rails,Erol/rails,odedniv/rails,yalab/rails,rails/rails,MSP-Greg/rails,yhirano55/rails,Stellenticket/rails,mohitnatoo/rails,EmmaB/rails-1,richseviora/rails,jeremy/rails,arunagw/rails,mtsmfm/railstest,kachick/rails,ledestin/rails,tjschuck/rails,odedniv/rails,rafaelfranca/omg-rails,kddeisz/rails,tgxworld/rails,Envek/rails,EmmaB/rails-1,yalab/rails,MichaelSp/rails,xlymian/rails,notapatch/rails,printercu/rails,rossta/rails,betesh/rails,travisofthenorth/rails,betesh/rails,mathieujobin/reduced-rails-for-travis,Envek/rails,tgxworld/rails,rbhitchcock/rails,Spin42/rails,palkan/rails,printercu/rails,MichaelSp/rails,kddeisz/rails,brchristian/rails,bolek/rails,kmcphillips/rails,elfassy/rails,schuetzm/rails,marklocklear/rails,kaspth/rails,samphilipd/rails,georgeclaghorn/rails,assain/rails,pvalena/rails,pschambacher/rails,mohitnatoo/rails,assain/rails,mohitnatoo/rails,travisofthenorth/rails,kaspth/rails,aditya-kapoor/rails,fabianoleittes/rails,joonyou/rails,illacceptanything/illacceptanything,deraru/rails,kenta-s/rails,bogdanvlviv/rails,hanystudy/rails,deraru/rails,Sen-Zhang/rails,yhirano55/rails,illacceptanything/illacceptanything,arjes/rails,illacceptanything/illacceptanything,matrinox/rails,coreyward/rails,gcourtemanche/rails,sergey-alekseev/rails,mtsmfm/rails,utilum/rails,coreyward/rails,illacceptanything/illacceptanything,kenta-s/rails,prathamesh-sonpatki/rails,mechanicles/rails,vipulnsward/rails,travisofthenorth/rails,assain/rails,elfassy/rails,deraru/rails,pvalena/rails,hanystudy/rails,arunagw/rails,gcourtemanche/rails,lcreid/rails,illacceptanything/illacceptanything,mathieujobin/reduced-rails-for-travis,yasslab/railsguides.jp,mechanicles/rails,yawboakye/rails,aditya-kapoor/rails,jeremy/rails,baerjam/rails,Vasfed/rails,kamipo/rails,arjes/rails,baerjam/rails,coreyward/rails,gavingmiller/rails,illacceptanything/illacceptanything,marklocklear/rails,notapatch/rails,lcreid/rails,Spin42/rails,baerjam/rails,ttanimichi/rails,yasslab/railsguides.jp,Edouard-chin/rails,utilum/rails,voray/rails,esparta/rails,odedniv/rails,BlakeWilliams/rails,palkan/rails,bogdanvlviv/rails,deraru/rails,samphilipd/rails,eileencodes/rails,rossta/rails,rafaelfranca/omg-rails,repinel/rails,Vasfed/rails,mohitnatoo/rails,ledestin/rails,repinel/rails,rossta/rails,MSP-Greg/rails,flanger001/rails,schuetzm/rails,utilum/rails,gcourtemanche/rails,rails/rails,kmayer/rails,kachick/rails,vipulnsward/rails,joonyou/rails,tijwelch/rails,xlymian/rails,mtsmfm/railstest,marklocklear/rails,Edouard-chin/rails,rbhitchcock/rails,tjschuck/rails,eileencodes/rails,kirs/rails-1,yahonda/rails,richseviora/rails,voray/rails,starknx/rails,gauravtiwari/rails,Stellenticket/rails,mtsmfm/rails,shioyama/rails,joonyou/rails,yhirano55/rails,jeremy/rails,matrinox/rails,sealocal/rails,matrinox/rails,samphilipd/rails,vipulnsward/rails,baerjam/rails,Envek/rails,repinel/rails,rbhitchcock/rails,prathamesh-sonpatki/rails,riseshia/railsguides.kr,jeremy/rails,eileencodes/rails,maicher/rails,vipulnsward/rails,ngpestelos/rails,gavingmiller/rails,ttanimichi/rails,Edouard-chin/rails,yahonda/rails,lcreid/rails,tijwelch/rails,arjes/rails,koic/rails,illacceptanything/illacceptanything,untidy-hair/rails,pvalena/rails,brchristian/rails,kachick/rails,flanger001/rails,gfvcastro/rails,tgxworld/rails,arunagw/rails,untidy-hair/rails,stefanmb/rails,Spin42/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,shioyama/rails,yahonda/rails,illacceptanything/illacceptanything,riseshia/railsguides.kr,Stellenticket/rails,kirs/rails-1,maicher/rails,MichaelSp/rails,yahonda/rails,lucasmazza/rails,tgxworld/rails,georgeclaghorn/rails,pschambacher/rails,fabianoleittes/rails,esparta/rails,Sen-Zhang/rails,illacceptanything/illacceptanything,shioyama/rails,Vasfed/rails,yasslab/railsguides.jp,utilum/rails,EmmaB/rails-1,yalab/rails,Envek/rails,palkan/rails,koic/rails,kamipo/rails,lcreid/rails,bolek/rails,kmcphillips/rails,hanystudy/rails,bolek/rails,mijoharas/rails,rafaelfranca/omg-rails,stefanmb/rails,shioyama/rails,kirs/rails-1,elfassy/rails,mtsmfm/rails,kenta-s/rails,starknx/rails,yhirano55/rails,bogdanvlviv/rails,MSP-Greg/rails,ngpestelos/rails,alecspopa/rails,prathamesh-sonpatki/rails,aditya-kapoor/rails,Erol/rails,mechanicles/rails,arunagw/rails,rails/rails,xlymian/rails,lucasmazza/rails,gauravtiwari/rails,schuetzm/rails,georgeclaghorn/rails,tjschuck/rails,yawboakye/rails,kddeisz/rails,lucasmazza/rails,riseshia/railsguides.kr,felipecvo/rails,alecspopa/rails,ttanimichi/rails,mijoharas/rails,flanger001/rails,mechanicles/rails,untidy-hair/rails,starknx/rails,Edouard-chin/rails,betesh/rails,prathamesh-sonpatki/rails,felipecvo/rails,travisofthenorth/rails,stefanmb/rails,kmayer/rails,gauravtiwari/rails,sergey-alekseev/rails,repinel/rails,eileencodes/rails,kmcphillips/rails,gfvcastro/rails,mijoharas/rails,kaspth/rails,Stellenticket/rails,sealocal/rails,kddeisz/rails,Sen-Zhang/rails,notapatch/rails,BlakeWilliams/rails,Vasfed/rails,untidy-hair/rails,felipecvo/rails,esparta/rails,gfvcastro/rails,notapatch/rails,illacceptanything/illacceptanything,bradleypriest/rails,maicher/rails,joonyou/rails,iainbeeston/rails,voray/rails,printercu/rails,gavingmiller/rails,iainbeeston/rails,pschambacher/rails