Build JS and actionManager