Prefer "$(function() {" instead of "$(document).ready(function() {"