javascript in property input