fixed a small js error and precompiled the assets