All functions working in browser as they should