javascript: added basic examples to mraa

Signed-off-by: Dan Yocom <dan.yocom@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>