Removed on ready function and was put to jqinit file