using proper jquery location