set everything up for online users. just have to add the js