Removed Javascript Dependency

^ + Some bug fixes which arose from ajax calls pulling data but
links/search forms etc not being updated. Also fixed searches to be be
case insensitive