Added JS to balance.php