Implementation of Tinaweb in Javascript