add file .js to draw graphics