Add .es6 as JavaScript extension.
Merge pull request #910 from abuiles/es6

Add .es6 as JavaScript extension.