fixed type in BoilerPlate.js