update compile js to work with latest less build