rebuilding js