some setting for javascript