Browsing: Javascript vs HTML