js main vars