add public dir for js