Forgot to add index.html in previous commit. Also added some info about functions vs methods.