some javascript added