Complete js script for /tabs page and implementing artist/style/tag/search modes for /tabs page