Do those VB functions exist in Javascript?