modified javascript variable type blog