Script type added

Signed-off-by: Ralf Koller <r.koller@gmail.com>
Window onload event removed

Signed-off-by: Ralf Koller <r.koller@gmail.com>