Switch from client-side js to static (for a few minor things)