JS rebuild