Fixed getElementbyId closes #39