Some minor fixes, including one in the pikaday

TODO: remove fix from pikaday plugin