Add category and tags.

Also took out the js and put it in an external file.