Added JS, fixed HTML table
Fixed indentation