Align capes.js codestyle to the rest of the project