Inject LR into any htm/html file

Also adds handling for missing files