DrupalGap Forms API Does not Handle Negative Weights

Regarding to drupal.org issue with negative weight and Form API.