Implemented handling for non-standard page linking (e.g. Javascript)