Getting url parameters with javascript (no plugins needed)