Added inverse function for pebble watch or other api functions. Fixed a few typos and cleaned up syntax a bit