working version of file up. test in 'javascript/example.html'