Reorganise js a bit, enable admin bar links