syntax error at (eval 16) line 15, near "jpg link" (Might be a runaway multi-line // string starting on line 4) Unmatched right curly bracket at (eval 16) line 15, at end of line Unknown regexp modifier "/h" at (eval 16) line 26, at end of line Unknown regexp modifier "/t" at (eval 16) line 26, at end of line Unknown regexp modifier "/e" at (eval 16) line 26, at end of line syntax error at (eval 16) line 41, near ") {"