fix js error on plugins.js ajax option var