remove doubled dom-ready callback

`$(function() {` is the short version of
`$(document).ready(function() {`