core - functions
client side - window object