Optimize timezone calculation and fix content type of timezone.js

* Add `window.ltOffset` to store delta between target timezone and timezone of browser env
* Use `window.ltOffset` to render time of target timezone
* Render datepicker when `Custom` timeframe is selected
* Set content type of timezone.js to `application/javascript` 
* Some fixes of JavaScript format