changes to js

no modal