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

Made the register_assets function static so it wont throw errors