Retrieve GET variables with javascript