Named main as clean_statement.
Minor changes.
Everything complete! Production ready.
Added js file.