added mobile=true
put some stuff into util.js