fixed turbolinks bug with adding javascript
Merge pull request #50 from mattjmcnaughton/matt-toggling-advanced-search

fixed turbolinks bug with adding javascript