Added better regex for #tag searching in javascript, fixed a problem with a drop down menu.