for one, i wouldn't be doing anything like that at night. the first night ride i went on to test my lights i ended up breaking my finger since i hadn't ridden the trail before. i assume it's because its a construction site and you were trepassing. crashing is just part of the game. i would just practice and practice in an area with sufficient lighting and get used to how your bike handles when doing stunts and jumps with it.