Add Event listener for init() in JS, remove html onload, fix js tab spacing