Halfway development of auto compilation of masthead js code