uploads filter, refactor js, add bindonce lib