add compass to dependencies and fix js error