Changed the name of the jQuery variable $ to $j since $ was used in the new discovery server and probably in some IDP:s too. This resulted in some weird bugs