Removed redundant document ready callback.
Added missing type argument in <script>.