oops: Fix js bug