Cleanup gallery and custom js