Tag: abstraction in javascript function