fix absolute path for jquery based