escape reserved character in regex; use & instead of &amp;
Remove redundant variable
Fix for cookie not stored when directory changed
Fix double url conversion
Check if fontface loaded before loading