[BF] Error in JS