fix bugs when $.os.desktop = true
documentation updates
update build files