fix bug "app crash on start" (see detailed message)

main.js relied on jQuery to already exist which it didn't due to the order of inclusion. While main.js should not contain UI code at all, this is a quick fix.
remove redundant getters and setters from model objects
decouple OpenKonsole platform from Pong game