Updated javascript receipe and added a trigger call for the first build