* moved current_site var on top in order for it to be available
in all included js scripts