cleaned up code, added ajax call to get data
updated git ignore