Moved javascript into file, added tags, added main page comments