add gitignore
use literal syntax for performances

To create an object, literal syntax has better performance than using #new
Merge pull request #1 from Watson1978/literal

Use literal syntax for performances