fixed another js problem in currentop.js #869