removed dollar sign in ready function