Typescript version of jRIApp HTML5 framework