changed js to vanilla
merge