calc addtional fee as JS