added url to doc string
fixed some issues with template path
cross browser fix