[~TASK] Modify JavaScript and make an Prototype-Class out of it