Custom selectbox using js