added jquery, changed names
fix run-away movement