adding temporary home page route to javacript