Update general.js

cleanup