add javascript boilerplate and digital root specs