Uncaught TypeError: Cannot call method 'removeChild' of null - FIXED