test url sin javascript