Made the register_assets function static so it wont throw errors

I was getting warnings in my backend (WP_DEBUG === true) with register_assets since it wasn't declared as static.  I've updated the function and the errors are gone