some functions and mixins for lessjs