Corrected license headers.

Also corrected path to lodash lib.
JDF-557 Corrected the logic to display headers on touch devices

The headers are now added only when the desktop site is loaded,
instead of the mobile site. This was responsible for the additional
row.

Also, the older logic used to decide whether to add the header was
updated.

Condensed the logic into a one-time check