trying to add jquery library, been trying to fix last locations functionality