attempts at adding vegas - javascript error can't find $