Take js functions as changes