javascript variable assignment blog