Changed JS params to fit div to window size