If you can't use the head html (Method best case) and embedding as DIV through OAM does just that so you need to inline the extensions into an init function (Method: Quick and dirty).
I fixed the file and added an option for different heights based on Layout.