fixed Rigs public methods declaration

Your methods were declared as private, therefore weren't visible in the script.js as part of the Rigs object.

Used prototyping to have them become inheritable for OOP.