trying onload in js