Quick javascript update

Began to add support for class-based javascript content objects.