Made the register_assets function static so it wont throw errors
Merge pull request #1 from reado/fix_static_function_calls

Made the register_assets function static so it wont throw errors