move lifting to lib file, add grunt 0.4.x compatibility