Update access.js

@sharybeshara Done with the conventions #274