work on javascript file