Supports Lang in JavaScript to fix #208.

#208