js for posilock website