HTML test environment and first version of javascript api