fixed incorrect paths to qunit files in link/script tags
fixed minor bug