Re-adding empty dirs, fixed errorPage typo

Re-adding img and js directories, fixed errorPage.php typo and emptied
.gitignore files.