update mainjs
updates
minor changes