Tizen Support

Verified that the tests run successfully and fixed some jshint warnings @imhotep