Update main.js

Added 100%-heighting script