Update install_generator.rb

add js require