Basic JavaScript tips

Get current site URL – Javascript