added database.yml yo .gitignore and sorted JS problems
trying to apply some fixes to the standard HTML site so we can make it more dynamic (Rails)