Update bkoFlotr2pie.js

Update UI code and few validations