calculator given html extension in addition to erb