Quick fix. Preventing javascript error