start queueing scripts after DOMContentLoaded (for FF), removed unnecessary setTimeout