Combined common functions into slite.js

Now slite.js has functions that are common to the mobile and desktop
versions, so those functions are not repeated.
Merge branch 'master' of https://github.com/vasyaivanov/mobremcon