global.js

usually used js methods