Working on javascript builder