cosmetics
added native js functions