consolidated js
basic functionality of access rules down