javascript added from Christian