Fixed javascript links regex