fixed js bugs and precompiled assets