more homepage building. js for web tabs, masthead logic