Removed custom js functions for simplicity