Initial commit for the js template lib