added .ready() and added .foundation() init function