fixed js for apt setting lockout
merge conflict