Fully mortproofed __init__
Merge new JS
Made things more standalone