Fixed bugg which prevented scripts from running on taxonomy pages

Signed-off-by: Thor Brink <thor@iqq.se>