Improved jquery location and debating things