Updated to Lift 3.0 and make JavaScript better