added last js
added js to main html