fixed stupid Javascript split issue