Javascript Float Label Pattern helper.