fixed gitignore and added javascript lib file