Minimal JavaScript OOP