Report question

Question: javascript functions to simulate classes, best practices?