Update post-public-admin.js

Use `'use strict'` statement, remove a call to addClass function, simplify wrapper code.
Leave out strict mode for now