Updated 404 JavaScript to convert dots to 0s and 1s in a string (unfinished)
Cleaned up 404 code slightly