worked on jquery, js won't disable after win