Sanitized input, fixed scripts linking, added image rendering
Better naming conventions
JS cleanup