jquery & normalize urls as constants