Update helper.rb

Fix script load if jquery not loaded yet