Web: Make JS more JavaScripty