We should use `$(document).ready here instead, since jQuery is available.