Feature 150 decimal exception

js validation ready for issue #160.