Fix another JS error
Fix another JS error

JC5/firefly-iii,tonicospinelli/firefly-iii,firefly-iii/firefly-iii,firefly-iii/firefly-iii,tonicospinelli/firefly-iii,tonicospinelli/firefly-iii,tonicospinelli/firefly-iii,firefly-iii/firefly-iii,firefly-iii/firefly-iii,JC5/firefly-iii